home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 63 / 063.d81 / contest winners (.txt) < prev    next >
Commodore BASIC  |  2022-08-26  |  5KB  |  194 lines

  1. 100 poke53280,.:poke53281,.
  2. 140 poke55,120:poke56,55:clr:a$=""
  3. 160 sys57812"unpacker.89",8,0:poke780,.:poke781,.:poke782,201:sys65493
  4. 170 sys57812"input any.o",8,0:poke780,.:poke781,60:poke782,3:sys65493
  5. 180 sys57812"psave 1.0.o",8,0:poke780,.:poke781,.:poke782,192:sys65493
  6. 190 :
  7. 200 ip=828:unpack=51456:hgr=51459
  8. 210 ps=49152:rem ps-pic save
  9. 220 :
  10. 230 read np : dim r$(np),c(np),c$(7)
  11. 240 forx=1tonp:readr$(x),c(x)
  12. 250 next:c$(1)="":c$(2)="[153]":c$(3)="":c$(4)="[159]":c$(5)="[154]"
  13. 260 gosub 1510: rem title screen
  14. 270 forx=1tonp
  15. 280 gosub1810
  16. 290 sys57812r$(x),8,0:poke780,.:poke781,.:poke782,64:sys65493
  17. 300 :
  18. 310 gosub1910:ifa$="q"ora$="[209]"thengosub1250
  19. 320 poke251,64:poke252,224:poke253,204
  20. 330 print"[147]";:sysunpack:sys hgr:poke53280,c(x)
  21. 340 ag=3.34:kk=.
  22. 350 poke198,.
  23. 355 ifz3=0then360
  24. 357 z4=z4+1:z4=z4and15
  25. 358 poke53281,z4
  26. 360 kk=kk+1:geta$:ifa$=""andkk<800then355
  27. 370 ifa$="q"ora$="[209]"thengosub 1250
  28. 380 ifa$="s"ora$="[211]"then 470
  29. 390 ifa$<>chr$(133)then410
  30. 400 z1=z1+1:z1=z1and15
  31. 405 poke53280,z1:goto340
  32. 410 ifa$<>chr$(134)then416
  33. 412 z2=z2+1:z2=z2and15
  34. 415 poke53281,z2:goto340
  35. 416 ifa$<>chr$(135)then420
  36. 417 z3=z3+1:z3=z3and1:goto340
  37. 420 syshgr:print"[147]":poke198,.:next x
  38. 430 goto270
  39. 440 :
  40. 450 rem save koala pic
  41. 460 :
  42. 470 sys hgr
  43. 480 poke53280,.:poke53281,.
  44. 490 print"[147]":poke214,11:print
  45. 500 print"   save this unpacked picture? (y/n)"
  46. 510 geta$:ifa$=""then510
  47. 520 ifa$="[217]"ora$="y"then 560
  48. 530 ifa$="[206]"ora$="n"then 330
  49. 540 goto 510
  50. 550 :
  51. 560 print"[147]":poke214,9:print
  52. 570 print"  enter file name you wish to save as."
  53. 580 :
  54. 590 print"       name : ---------------[145][157][157][157][157][157][157][157][157][157][157][157][157][157][157][157][154][193][146]";
  55. 600 ln%=14:sp$="                "
  56. 610 gosub680:ifnm$=""then490
  57. 620 nm$=left$(chr$(129)+nm$+sp$,15)
  58. 630 print"         is this correct? (y/n)"
  59. 640 geta$:ifa$=""then640
  60. 650 ifa$="y"ora$="[217]"then 790
  61. 660 ifa$="n"ora$="[206]"then 490
  62. 670 goto640
  63. 680 rem --- input routine ---
  64. 690 nm$="":x%=0:c%=peek(646)
  65. 700 print"[152][164][157]";:poke646,c%
  66. 710 geta$:ifa$=""then710
  67. 720 a%=asc(a$)
  68. 730 ifa%=20andx%>0thenx%=x%-1:nm$=left$(nm$,len(nm$)-1):print" [157][157]";:goto700
  69. 740 ifa%=20then710
  70. 750 ifa%=13 then print" ":return
  71. 760 ifx%=ln% then forer=1to2:poke53280,abs(255-peek(53280)):next:goto710
  72. 770 ifa$<" "ora$>"z"anda$<"[193]"ora$>"[218]"ora=34 then 710
  73. 780 nm$=nm$+a$:printa$;:x%=x%+1:goto700
  74. 790 :
  75. 800 rem -- check for 'file exists' --
  76. 810 :
  77. 820 open15,8,15,"r0:"+nm$+"="+nm$:input#15,er,er$:close15
  78. 830 if er<>62 then gosub1160:goto490
  79. 840 :
  80. 850 rem ---      save pic       ---
  81. 860 :
  82. 870 poke251,64:poke252,224:poke253,204
  83. 880 :
  84. 890 print"[147]":sysunpack
  85. 900 :
  86. 910 sys hgr:poke53280,c(x)
  87. 920 nm$=nm$+",p,w"
  88. 930 sys ps,nm$
  89. 940 sys hgr
  90. 950 :
  91. 960 rem --- check for errors ---
  92. 970 :
  93. 980 open15,8,15:input#15,er,er$,y$,z$:close15
  94. 990 ifer>. then gosub1160:goto 490
  95. 1000 :
  96. 1010 rem --    everything ok    ---
  97. 1020 :
  98. 1030 poke53280,.:poke53281,.
  99. 1040 print"[147]":poke214,7:print
  100. 1050 print"             saving complete."
  101. 1060 print"   please replace your loadstar disk"
  102. 1070 print"   in your disk drive and press space"
  103. 1080 geta$:ifa$<>" "then1080
  104. 1090 open15,8,15,"r0:psave 1.0.o=psave 1.0.o":input#15,er:close15
  105. 1100 ifer<>63 then 1040
  106. 1110 sys hgr:goto 420
  107. 1120 :
  108. 1130 :
  109. 1140 :
  110. 1150 rem ---   print dos error msg ---
  111. 1160 :
  112. 1170 poke53280,.:poke53281,.:print"[147]        [129] d i s k   e r r o r !
  113. 1180 [151]214,10:[153]
  114. 1190 a$[178]"print#error #"[170][196](er)[170]"print#,"[170]er$
  115. 1200 x%[178]22[171][195](a$)[173]2:[153][163]x%);a$
  116. 1210 [151]214,21:[153]
  117. 1220 [153]"print#        press space to continue."
  118. 1230 [161]a$:[139]a$[179][177]" "[167]1230
  119. 1240 [142]
  120. 1250 o[178][194](53270)[175]16
  121. 1255 [139]o[167][158]51459
  122. 1260 [151]53281,0:[151]53280,0
  123. 1270 [153]"load  atnre you sure you want to quit? (y/n)"
  124. 1280 [151]198,0:[146]198,1:[161]ag$
  125. 1290 [139]ag$[178]"y"[176]ag$[178]"(NULL)"[167]1330
  126. 1295 [139]o[167][158]51459
  127. 1300 [142]
  128. 1320 [143] quit
  129. 1330 [159]15,8,15,"r0:hello connect=hello connect":[132]15,er:[160]15
  130. 1340 [139]er[179][177]63[167][153]"load":[128]
  131. 1350 [153]"loadstopload"[199](34)"hello connect"[199](34)",8"
  132. 1360 [153]"run"
  133. 1370 [151]631,13:[151]632,13:[151]198,2:[128]
  134. 1380 [143] data <title>,<border color>
  135. 1390 [131] 5
  136. 1400 [131] cat memory,0
  137. 1410 [131] world or me,0
  138. 1420 [131] flying free,0
  139. 1430 [131] irish castle,0
  140. 1440 [131] winsome,0
  141. 1500 :
  142. 1510 [143] title screen
  143. 1520 [153]"load":[151]53281,1:[151]53280,1
  144. 1530 [153]"         or{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}{$60}^"
  145. 1540 [153]"         (NULL)(NULL)oadstar (NULL)resents(NULL)print# "
  146. 1550 [153]"         /tantantantantantantantantantantantantantantantantanexpprint# "
  147. 1560 [153]"                             "
  148. 1570 [153]
  149. 1580 [153]"  openortantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantan^"
  150. 1590 [153]"  (NULL)    ortantantantantantantantantantantantantantantantantantantantantantantan^open     (NULL)print# "
  151. 1600 [153]"  open(NULL)    (NULL) 1989 lenontest (NULL)inners  (NULL)cont open    (NULL)print# "
  152. 1610 [153]"  open(NULL)    /tantantantantantantantantantantantantantantantantantantantantantantanexpcont open    (NULL)print# "
  153. 1620 [153]"  open(NULL)     cont                         open    (NULL)print# "
  154. 1630 [153]"  open(NULL)                                  (NULL)print#close"
  155. 1640 [153]"  open(NULL)       (NULL)lide (NULL)how (NULL)resenter       (NULL)print#close"
  156. 1650 [153]"  open(NULL)    (len) 1989 by (NULL)(NULL)asc(NULL)str$right$(NULL)(NULL), right$nc.    (NULL)print#close"
  157. 1660 [153]"  open(NULL)                                  (NULL)print#close"
  158. 1670 [153]"  open/tantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantanexpprint#close"
  159. 1680 [153]"                                       "
  160. 1690 [153]
  161. 1700 [153]"     ortantantantantantantantantantantantantantantantantantantantantantantantantantantantan^"
  162. 1710 [153]"     (NULL)  atnll pictures crafted by   (NULL)print# "
  163. 1720 [153]"     (NULL)      (NULL)arious atnrtists       (NULL)print# "
  164. 1730 [153]"     /tantantantantantantantantantantantantantantantantantantantantantantantantantantantanexpprint# "
  165. 1740 [153]"                                    "
  166. 1750 :
  167. 1760 [153]"   ( (NULL)ress any key to start the showclose)";:kk[178]0
  168. 1770 [153]"";
  169. 1780 kk[178]kk[170]1:[161]a$:[139]a$[178]""[175]kk[179]500[167]1780
  170. 1790 [151]53281,5:[142]
  171. 1800 :
  172. 1810 [151]53281,6:[151]53280,6
  173. 1820 [153]"loadprint#ortantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantan^";
  174. 1830 [129]qx[178]1[164]12
  175. 1840 [153]"(NULL)(NULL)";:[130]
  176. 1850 [153]"/tantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantantanexp"
  177. 1860 [129]lx[178]217[164]217[170]26:[151]lx,([194](lx)[176]128):[130]
  178. 1870 nm$[178]"p."[170]r$(x)
  179. 1880 [159]2,8,2,nm$:[153]"";
  180. 1890 [129]i[178]0[164]1:[158]ip,2,40:[153]""a$
  181. 1900 i[178]st:[130]:[160]2:[142]
  182. 1910 kk[178]0
  183. 1915 [151]214,14:[153]:[153]"list     (NULL)hile the slide is showing..."
  184. 1916 [153]"    asc1 list- lenhanges border color"
  185. 1917 [153]"    asc3 list- lenhanges background color"
  186. 1918 [153]"    asc5 list- (NULL)oggles incredible light show"
  187. 1920 [151]214,22:[153]:[153]c$(c)
  188. 1930 [153]"(NULL)ress (NULL) to quit - atnny other to continueon":[129]d[178]0[164]5
  189. 1940 kk[178]kk[170]1:[161]a$:[139]a$[179][177]""[176]kk[177]1000[167][142]
  190. 1950 [130]:c[178]c[170]s:[139]c[177]5[167]s[178][171]1
  191. 1960 [139]c[179]1[167]s[178][170]1:c[178]1
  192. 1970 [137]1920
  193. 10000 [159]15,8,15,"s0:contest winners":[160]15:[148]"contest winners",8:[128]
  194.